<?php 
	$this->load->view('header');
?>	
<div id="banner">
<?php 
	$this->load->view('modules/banner_top');	
?>	
</div>
<div id="content">
	<div class="clearfix" id="crumb">
		<ul>
			<li><a title="trang chu" href="<?php echo base_url() ?>">Trang chủ</a></li>
			<li>Tin tức</li>
		</ul>
	</div>
	<div id="main_page">
		<div id="left_column">
			<?php 
				$this->load->view('modules/mod_news_left_other');
				$this->load->view('modules/mod_news_hit');	
			?>
		</div>
		<div id="right_column">
			<h3 class=structural>Tin tức mới</h3>
			<?php
				$obj_data = get_last_news();
				foreach($obj_data as $data):
			?>
			<div style="width:665px;height:150px;">
				<a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>">
				<?php if($data['cimage_thumb'] != ''): ?>	
					<img src="<?php  echo base_url().'upload/images/'.$data['cimage_thumb'] ?>" alt="logo" width="150px" height="100" align="left" style="margin:0 10px 10px 0"/>
				<?php endif; ?>
				</a>
				<h5><a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>"><?php echo $data['ctitle'] ?></a></h5>
				<?php echo $data['cshort_content']?>
				<p class="detail_link"><a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>">Xem chi tiết</a></p>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
</div>

<?php 
	$this->load->view('footer');
?>